// 修改 webpack 的 target
const { override } = require("customize-cra");

function addRendererTarget(config) {
  config.target = "electron-renderer";
  return config;
}

module.exports = override(addRendererTarget);
